package com.xzy.shop.service.impl;

import com.xzy.shop.dao.PhotoDao;
import com.xzy.shop.dao.impl.PhotoDaoImpl;
import com.xzy.shop.domain.Photo;
import com.xzy.shop.service.PhotoService;

import java.util.List;

public class PhotoServiceImpl implements PhotoService {
    PhotoDao dao = new PhotoDaoImpl();
    @Override
    public List<Photo> findByGid(String gid) {
        return dao.findByGid(gid);
    }

    @Override
    public List<Photo> findinfoByGid(String gid) {
        return dao.findinfoByGid(gid);
    }
}
